#include "app_device.h"
#include "app_mqtt.h"
#include "app_pool.h"
#include "unistd.h"

int main(int argc, char const *argv[])
{
    app_mqtt_init();

    app_pool_init();

    Device *dev = app_device_init("/home/wxq/workspace/smart_gateway/dev_test_file");

    app_device_start(dev);

    sleep(10000);
    
    return 0;
}
